package I;

import java.io.File;
import java.io.PrintStream;
import java.lang.reflect.Field;
import javax.swing.UIManager;
import sun.misc.Unsafe;

public class I
{
  private static Unsafe KKLI = KKLI();

  public static final File I()
  {
    String str1 = System.getProperty("os.name", "").toLowerCase();
    String str2 = System.getProperty("user.home", ".");
    if (str1.contains("win"))
    {
      String str3 = System.getenv("APPDATA");
      if (str3 != null)
        return new File(str3, ".minecraft");
      return new File(str2, ".minecraft");
    }
    if (str1.contains("mac"))
      return new File(str2, "Library/Application Support/minecraft");
    return new File(str2, ".minecraft/");
  }

  private static Unsafe KKLI()
  {
    try
    {
      Field localField = Unsafe.class.getDeclaredField("theUnsafe");
      localField.setAccessible(true);
      return (Unsafe)localField.get(Unsafe.class);
    }
    catch (SecurityException localSecurityException)
    {
      throw new RuntimeException(localSecurityException);
    }
    catch (NoSuchFieldException localNoSuchFieldException)
    {
      throw new RuntimeException(localNoSuchFieldException);
    }
    catch (IllegalArgumentException localIllegalArgumentException)
    {
      throw new RuntimeException(localIllegalArgumentException);
    }
    catch (IllegalAccessException localIllegalAccessException)
    {
    }
    throw new RuntimeException(localIllegalAccessException);
  }

  public static final boolean Z()
  {
    try
    {
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      return true;
    }
    catch (Exception localException)
    {
      System.out.println("Okay, I won't have a native L&F.");
    }
    return false;
  }
}

/* Location:           C:\Users\Administrator\Desktop\MCCheat_1.9\Decompiled\
 * Qualified Name:     I.I
 * JD-Core Version:    0.6.0
 */